package org.alala.datamodels.common.query;

import java.io.Serializable;

public class OrderBy implements Serializable {

	private static final long serialVersionUID = 441688900996133940L;

	private String fieldName;
	
	private boolean descOrder;
	
	public OrderBy(String fieldName, boolean descOrder){
		this.fieldName = fieldName;
		this.descOrder = descOrder;
	}
	
	public OrderBy(){

	}

	public String getFieldName() {

		return fieldName;
	}

	public void setFieldName(String fieldName) {

		this.fieldName = fieldName;
	}

	public boolean isDescOrder() {

		return descOrder;
	}

	public void setDescOrder(boolean descOrder) {

		this.descOrder = descOrder;
	}

	
	
}
